import request from '@/utils/request'

// 查询课程表3列表
export function listCourses_3(query) {
  return request({
    url: '/system/courses_3/list',
    method: 'get',
    params: query
  })
}

// 查询课程表3详细
export function getCourses_3(courseId) {
  return request({
    url: '/system/courses_3/' + courseId,
    method: 'get'
  })
}

// 新增课程表3
export function addCourses_3(data) {
  return request({
    url: '/system/courses_3',
    method: 'post',
    data: data
  })
}

// 修改课程表3
export function updateCourses_3(data) {
  return request({
    url: '/system/courses_3',
    method: 'put',
    data: data
  })
}

// 删除课程表3
export function delCourses_3(courseId) {
  return request({
    url: '/system/courses_3/' + courseId,
    method: 'delete'
  })
}
